package me.sdevil507.biz.fruit.po;

import lombok.Data;
import lombok.EqualsAndHashCode;
import me.sdevil507.supports.jpa.BaseJpaSnowflakeIdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * @program: tips_back_end
 * @description: 成果合作信息
 * @author: kzl
 * @create: 2020-07-22 19:50
 **/
@Data
@EqualsAndHashCode(callSuper = true)
@Entity
@Table(name = "biz_fruit_coo_info")
public class FruitCooInfoPO extends BaseJpaSnowflakeIdEntity {

    /**
     * 成果id
     */
    @Column
    private Long  fruitId;

    /**
     * 经费来源
     */
    @Column
    private String  fundSource;

    /**
     * 委托单位
     */
    @Column
    private String  client;

    /**
     * 合作单位
     */
    @Column
    private String  cooUnit;

    /**
     * 经费来源
     */
    @Column
    private String  projectInfo;

    /**
     * 合作单位性质
     */
    @Column
    private String  unitType;


    /**
     * 创建时间
     */
    @Column
    private Date createTime = new Date();

    /**
     * 更新时间
     */
    @Column
    private Date updateTime = new Date();

    /**
     * 智库id
     */
    @Column
    private Long orgId;

    /**
     * 平台操作用户id
     */
    @Column
    private Long userId;

    /**
     * 平台操作用户姓名
     */
    @Column
    private String userName;
}
